<?php 
include '../conexionbd/conexion.php';
session_start();
if (!$_SESSION) {
    echo "<script>alert('Tiene que autenticarse para ingresar este sitio...');"
    . "window.location.href=\"../principal.php\"</script>";
}  else {
    $usu = $_SESSION['usuario'];    

?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Conexi&oacute;n</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="../css/bootstrap.css" rel="stylesheet">
    <link href='../css/estiloprincipal.css ' rel='stylesheet'>
    <link href="../css/bootstrap-responsive.css" rel="stylesheet">
    <link rel="shortcut icon" href="../img/user1_monitor.ico"/>
  </head>

  <body>
     <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
            <a class="brand" href="#">Conexi&oacute;n</a>
          <div class="nav-collapse collapse">
            <p class="navbar-text pull-right">
            <?php } echo "Registrad@ como: <strong>$usu</strong>"." ";?><a href="../logout.php" class="navbar-link">[Logout]</a>
            </p>
            <ul class="nav">
              <li class="active"><a href="#">Inicio</a></li>
              <li><a href="historia/H/historia2.php">Quienes somos</a></li>
              <li><a href="misionVision/M_V/misionVision2.php">Misi&oacute;n y Visi&oacute;n</a></li>
              <li><a href="servicios/productos/productos2.php">Servicios</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span12">
          <div class="hero-unit">
              <h2>Conexi&oacute;n</h2>
              <h3>Venta de Articulos Tecnol&oacute;gicos</h3>
            <p></p>
          </div>
        </div><!--/span-->
      </div><!--/row-->

      <hr>

      <footer>
          <center><p>&copy; Conexi&oacute;n 2013</p></center>
      </footer>
    </div><!--/.fluid-container-->

    <script src="js/jquery.js"></script>
    <script src="js/bootstrap-alert.js"></script>

  </body>
</html>